package com.ltu.timkor6.gamesite.shared;

import java.io.Serializable;

@SuppressWarnings("serial")
public class Result implements Serializable
{
	private int points = 0;
	private int time = 0;
	private int turns = 0;
	private int date = 0;
	
	private String gameTitle = null;
	private String userName = null;
	
	public void addPoints(int points)
	{
		this.points += points;
	}
	
	public int getDate()
	{
		return this.date;
	}
	
	public String getGameTitle()
	{
		return this.gameTitle;
	}
	
	public int getPoints()
	{
		return this.points;
	}
	
	public int getTime()
	{
		return this.time;
	}
	
	public int getTurns()
	{
		return this.turns;
	}
	
	public String getUserName()
	{
		return this.userName;
	}

	public void setDate(int date)
	{
		this.date = date;
	}

	public void setGameTitle(String gameTitle)
	{
		this.gameTitle = gameTitle;
	}

	public void setPoints(int points)
	{
		this.points = points;
	}

	public void setTime(int time)
	{
		this.time = time;
	}

	public void setTurns(int turns)
	{
		this.turns = turns;
	}

	public void setUserName(String userName)
	{
		this.userName = userName;
	}
}
